WCBoost\ProductsCompare\Frontend A

Total Complexity 54
Dependencies 2
Dependents 2
Total lines 452
Lines of code 275
Logical lines of code 125
Comment lines 116
Methods 19
Properties 1

Methods 19

Method Rating Maintainability Complexity Lines of code
get_button_template_args()
A
43 10 47
enqueue_scripts()
S
50 5 26
compare_button_open()
S
53 4 24
get_compare_fields()
S
54 3 21
compare_button_clear()
S
55 3 21
compare_content()
S
56 3 16
template_hooks()
S
58 3 14
compare_bar()
S
53 2 26
compare_popup()
S
56 2 22
compare_footer()
S
66 3 10
add_nocache_headers()
S
73 3 5
get_element_class_name()
S
78 2 3
instance()
S
72 2 6
print_notices()
S
75 2 5
body_class()
S
69 2 7
add_noindex_robots()
S
71 2 6
__construct()
S
69 1 6
single_add_to_compare_button()
S
71 1 5
loop_add_to_compare_button()
S
71 1 5